# frozen_string_literal: true
require_relative 'lib/travis/version'
# Run `rake travis.gemspec` to update the gemspec.
Gem::Specification.new do |s|
  # general info
  s.name        = 'travis'
  s.version     = Travis::VERSION
  s.required_ruby_version = '>= 3.2.0'
  s.description = 'CLI and Ruby client library for Travis CI'
  s.homepage    = 'https://github.com/travis-ci/travis.rb'
  s.summary     = 'Travis CI client'
  s.license     = 'MIT'
  s.executables = ['travis']

  # generated from git shortlog -sn
  s.authors = [
    'Konstantin Haase',
    'Hiro Asari',
    'Henrik Hodne',
    'joshua-anderson',
    'Aaron Hill',
    'Piotr Milcarz',
    'Buck Doyle',
    'Peter Souter',
    'Christopher Grim',
    'Joe Corcoran',
    'Peter van Dijk',
    'Sven Fuchs',
    'Aakriti Gupta',
    'Josh Kalderimis',
    'Piotr Sarnacki',
    'Ke Zhu',
    'Max Barnash',
    "Ren\xC3\xA9e Hendricksen",
    'carlad',
    'Carlos Palhares',
    'Dan Buch',
    "Mar\xC3\xADa de Ant\xC3\xB3n",
    'Mathias Meyer',
    'Matt Toothman',
    'mariadeanton',
    'techgaun',
    'Alpha',
    'Andreas Tiefenthaler',
    'Beau Bouchard',
    'Corinna Wiesner',
    "David Rodr\xC3\xADguez",
    'Eugene',
    'Eugene Shubin',
    'Igor Wiedler',
    'Ivan Pozdeev',
    'Joep van Delft',
    'Stefan Nordhausen',
    'Thais Camilo and Konstantin Haase',
    'Tobias Bieniek',
    'Adam Baxter',
    'Adam Lavin',
    'Adrien Brault',
    'Alfie John',
    "Alo\xC3\xAFs Th\xC3\xA9venot",
    'Basarat Ali Syed',
    'Benjamin Manns',
    "Christian H\xC3\xB6ltje",
    'Dani Hodovic',
    'Daniel Chatfield',
    'Dominic Jodoin',
    'Eli Schwartz',
    'Eric Herot',
    'Eugene K',
    'George Millo',
    'Gunter Grodotzki',
    'Harald Nordgren',
    'HaraldNordgren',
    'Igor',
    'Iulian Onofrei',
    'Jacob Atzen',
    'Jacob Burkhart',
    'James Nylen',
    'Joe Rafaniello',
    'Jon-Erik Schneiderhan',
    'Jonas Chromik',
    "Jonne Ha\xC3\x9F",
    'Julia S.Simon',
    'Justin Lambert',
    'Laurent Petit',
    'Maarten van Vliet',
    'Marco Craveiro',
    'Mario Visic',
    'Matt',
    'Matteo Sumberaz',
    'Matthias Bussonnier',
    'Michael Mior',
    'Michael S. Fischer',
    "Miro Hron\xC4\x8Dok",
    'Neamar',
    'Nero Leung',
    'Nicolas Bessi (nbessi)',
    'Nikhil Owalekar',
    'Peter Bengtsson',
    'Peter Drake',
    "Rapha\xC3\xABl Pinson",
    'Rob Hoelz',
    'Robert Grider',
    'Robert Van Voorhees',
    'Simon Cropp',
    'Tahsin Hasan',
    'Titus',
    'Titus Wormer',
    'Tobias Wilken',
    'Zachary Gershman',
    'Zachary Scott',
    'designerror',
    'ia',
    'jeffdh',
    'john muhl',
    'slewt'
  ]

  # generated from git shortlog -sne
  s.email = [
    'konstantin.mailinglists@googlemail.com',
    'asari.ruby@gmail.com',
    'j@zatigo.com',
    'aa1ronham@gmail.com',
    'piotrm@travis-ci.org',
    'me@henrikhodne.com',
    'b@chromatin.ca',
    'henrik@hodne.io',
    'p.morsou@gmail.com',
    'chrisg@luminal.io',
    'joe@corcoran.io',
    'peter.van.dijk@netherlabs.nl',
    'me@svenfuchs.com',
    'josh.kalderimis@gmail.com',
    'drogus@gmail.com',
    'kzhu@us.ibm.com',
    'i.am@anhero.ru',
    'renee@travis-ci.org',
    'aakritigupta@users.noreply.github.com',
    'me@xjunior.me',
    'dan@meatballhat.com',
    'mariadeanton@gmail.com',
    'meyer@paperplanes.de',
    'matt.toothman@aver.io',
    'carlad@users.noreply.github.com',
    'coolsamar207@gmail.com',
    'aakriti@travis-ci.org',
    'AlphaWong@users.noreply.github.com',
    'at@an-ti.eu',
    '127320+BeauBouchard@users.noreply.github.com',
    'wiesner@avarteq.de',
    'deivid.rodriguez@gmail.com',
    'eugene@travis-ci.org',
    '51701929+eugene-travis@users.noreply.github.com',
    'igor@travis-ci.org',
    'vano@mail.mipt.ru',
    'stefan.nordhausen@immobilienscout24.de',
    'dev+narwen+rkh@rkh.im',
    'tobias.bieniek@gmail.com',
    'github@voltagex.org',
    'adam@lavoaster.co.uk',
    'adrien.brault@gmail.com',
    '33c6c91f3bb4a391082e8a29642cafaf@alfie.wtf',
    'aloisthevenot@srxp.com',
    'basaratali@gmail.com',
    'benmanns@gmail.com',
    'docwhat@gerf.org',
    'danihodovic@users.noreply.github.com',
    'chatfielddaniel@gmail.com',
    'dominic@travis-ci.com',
    'eschwartz@archlinux.org',
    'eric.github@herot.com',
    '34233075+eugene-kulak@users.noreply.github.com',
    'georgejulianmillo@gmail.com',
    'gunter@grodotzki.co.za',
    'haraldnordgren@gmail.com',
    'igorwwwwwwwwwwwwwwwwwwww@users.noreply.github.com',
    '6d0847b9@opayq.com',
    'jatzen@gmail.com',
    'jburkhart@engineyard.com',
    'jnylen@gmail.com',
    'jrafanie@users.noreply.github.com',
    'joep@travis-ci.org',
    'joepvd@users.noreply.github.com',
    'jon-erik.schneiderhan@meyouhealth.com',
    'Jonas.Chromik@student.hpi.uni-potsdam.de',
    'me@jhass.eu',
    'julia.simon@biicode.com',
    'jlambert@eml.cc',
    'laurent.petit@gmail.com',
    'maartenvanvliet@gmail.com',
    'marco.craveiro@gmail.com',
    'mario@mariovisic.com',
    'mtoothman@users.noreply.github.com',
    'gnappoms@gmail.com',
    'bussonniermatthias@gmail.com',
    'mmior@uwaterloo.ca',
    'mfischer@zendesk.com',
    'miro@hroncok.cz',
    'neamar@neamar.fr',
    'neroleung@gmail.com',
    'nbessi@users.noreply.github.com',
    'nowalekar@tigetext.com',
    'peterbe@mozilla.com',
    'peter.drake@acquia.com',
    'raphael.pinson@camptocamp.com',
    'rob@hoelz.ro',
    'robert.grider@northwestern.edu',
    'rcvanvo@gmail.com',
    'simon.cropp@gmail.com',
    '51903216+Tahsin-travis-ci@users.noreply.github.com',
    'tituswormer@gmail.com',
    'tw@cloudcontrol.de',
    'pair+zg@pivotallabs.com',
    'e@zzak.io',
    'carla@travis-ci.org',
    'designerror@yandex.ru',
    'isaac.ardis@gmail.com',
    'jeffdh@gmail.com',
    'git@johnmuhl.com',
    'leland@lcweathers.net'
  ]

  # generated from git ls-files
  s.files = [
    'LICENSE',
    'README.md',
    'Rakefile',
    'assets/cacert.pem',
    'assets/init/bash.yml',
    'assets/init/c.yml',
    'assets/init/clojure.yml',
    'assets/init/cpp.yml',
    'assets/init/elixir.yml',
    'assets/init/erlang.yml',
    'assets/init/go.yml',
    'assets/init/groovy.yml',
    'assets/init/haskell.yml',
    'assets/init/java.yml',
    'assets/init/node_js.yml',
    'assets/init/objective-c.yml',
    'assets/init/perl.yml',
    'assets/init/php.yml',
    'assets/init/python.yml',
    'assets/init/ruby.yml',
    'assets/init/scala.yml',
    'assets/notifications/Travis CI.app/Contents/Info.plist',
    'assets/notifications/Travis CI.app/Contents/MacOS/Travis CI',
    'assets/notifications/Travis CI.app/Contents/PkgInfo',
    'assets/notifications/Travis CI.app/Contents/Resources/Travis CI.icns',
    'assets/notifications/Travis CI.app/Contents/Resources/en.lproj/Credits.rtf',
    'assets/notifications/Travis CI.app/Contents/Resources/en.lproj/InfoPlist.strings',
    'assets/notifications/Travis CI.app/Contents/Resources/en.lproj/MainMenu.nib',
    'assets/notifications/Travis CI.app/Contents/_CodeSignature/CodeResources',
    'assets/notifications/Travis CI.app/Contents/embedded.provisionprofile',
    'assets/notifications/icon.png',
    'assets/travis.sh',
    'assets/travis.sh.erb',
    'bin/travis',
    'examples/org_overview.rb',
    'examples/pro_auth.rb',
    'examples/stream.rb',
    'lib/travis.rb',
    'lib/travis/auto_login.rb',
    'lib/travis/cli.rb',
    'lib/travis/cli/accounts.rb',
    'lib/travis/cli/api_command.rb',
    'lib/travis/cli/branches.rb',
    'lib/travis/cli/cache.rb',
    'lib/travis/cli/cancel.rb',
    'lib/travis/cli/command.rb',
    'lib/travis/cli/console.rb',
    'lib/travis/cli/disable.rb',
    'lib/travis/cli/enable.rb',
    'lib/travis/cli/encrypt.rb',
    'lib/travis/cli/encrypt_file.rb',
    'lib/travis/cli/endpoint.rb',
    'lib/travis/cli/env.rb',
    'lib/travis/cli/help.rb',
    'lib/travis/cli/history.rb',
    'lib/travis/cli/init.rb',
    'lib/travis/cli/lint.rb',
    'lib/travis/cli/login.rb',
    'lib/travis/cli/logout.rb',
    'lib/travis/cli/logs.rb',
    'lib/travis/cli/monitor.rb',
    'lib/travis/cli/open.rb',
    'lib/travis/cli/parser.rb',
    'lib/travis/cli/pubkey.rb',
    'lib/travis/cli/raw.rb',
    'lib/travis/cli/regenerate_token.rb',
    'lib/travis/cli/remove_token.rb',
    'lib/travis/cli/repo_command.rb',
    'lib/travis/cli/report.rb',
    'lib/travis/cli/repos.rb',
    'lib/travis/cli/requests.rb',
    'lib/travis/cli/restart.rb',
    'lib/travis/cli/settings.rb',
    'lib/travis/cli/setup.rb',
    'lib/travis/cli/setup/anynines.rb',
    'lib/travis/cli/setup/appfog.rb',
    'lib/travis/cli/setup/artifacts.rb',
    'lib/travis/cli/setup/biicode.rb',
    'lib/travis/cli/setup/cloud_66.rb',
    'lib/travis/cli/setup/cloud_control.rb',
    'lib/travis/cli/setup/cloud_files.rb',
    'lib/travis/cli/setup/cloud_foundry.rb',
    'lib/travis/cli/setup/code_deploy.rb',
    'lib/travis/cli/setup/deis.rb',
    'lib/travis/cli/setup/divshot.rb',
    'lib/travis/cli/setup/elastic_beanstalk.rb',
    'lib/travis/cli/setup/engine_yard.rb',
    'lib/travis/cli/setup/gcs.rb',
    'lib/travis/cli/setup/hackage.rb',
    'lib/travis/cli/setup/heroku.rb',
    'lib/travis/cli/setup/modulus.rb',
    'lib/travis/cli/setup/ninefold.rb',
    'lib/travis/cli/setup/nodejitsu.rb',
    'lib/travis/cli/setup/npm.rb',
    'lib/travis/cli/setup/open_shift.rb',
    'lib/travis/cli/setup/opsworks.rb',
    'lib/travis/cli/setup/pypi.rb',
    'lib/travis/cli/setup/releases.rb',
    'lib/travis/cli/setup/ruby_gems.rb',
    'lib/travis/cli/setup/s3.rb',
    'lib/travis/cli/setup/sauce_connect.rb',
    'lib/travis/cli/setup/service.rb',
    'lib/travis/cli/show.rb',
    'lib/travis/cli/sshkey.rb',
    'lib/travis/cli/status.rb',
    'lib/travis/cli/sync.rb',
    'lib/travis/cli/token.rb',
    'lib/travis/cli/version.rb',
    'lib/travis/cli/whatsup.rb',
    'lib/travis/cli/whoami.rb',
    'lib/travis/client.rb',
    'lib/travis/client/account.rb',
    'lib/travis/client/artifact.rb',
    'lib/travis/client/auto_login.rb',
    'lib/travis/client/broadcast.rb',
    'lib/travis/client/build.rb',
    'lib/travis/client/cache.rb',
    'lib/travis/client/commit.rb',
    'lib/travis/client/entity.rb',
    'lib/travis/client/env_var.rb',
    'lib/travis/client/error.rb',
    'lib/travis/client/has_uuid.rb',
    'lib/travis/client/job.rb',
    'lib/travis/client/lint_result.rb',
    'lib/travis/client/listener.rb',
    'lib/travis/client/methods.rb',
    'lib/travis/client/namespace.rb',
    'lib/travis/client/not_loadable.rb',
    'lib/travis/client/repository.rb',
    'lib/travis/client/request.rb',
    'lib/travis/client/restartable.rb',
    'lib/travis/client/session.rb',
    'lib/travis/client/settings.rb',
    'lib/travis/client/singleton_setting.rb',
    'lib/travis/client/ssh_key.rb',
    'lib/travis/client/states.rb',
    'lib/travis/client/user.rb',
    'lib/travis/client/weak_entity.rb',
    'lib/travis/pro.rb',
    'lib/travis/pro/auto_login.rb',
    'lib/travis/tools/assets.rb',
    'lib/travis/tools/completion.rb',
    'lib/travis/tools/formatter.rb',
    'lib/travis/tools/github.rb',
    'lib/travis/tools/notification.rb',
    'lib/travis/tools/safe_string.rb',
    'lib/travis/tools/ssl_key.rb',
    'lib/travis/tools/system.rb',
    'lib/travis/version.rb',
    'spec/cli/api_command_spec.rb',
    'spec/cli/cancel_spec.rb',
    'spec/cli/encrypt_file_spec.rb',
    'spec/cli/encrypt_spec.rb',
    'spec/cli/endpoint_spec.rb',
    'spec/cli/help_spec.rb',
    'spec/cli/history_spec.rb',
    'spec/cli/init_spec.rb',
    'spec/cli/logs_spec.rb',
    'spec/cli/open_spec.rb',
    'spec/cli/repo_command_spec.rb',
    'spec/cli/restart_spec.rb',
    'spec/cli/setup/service_spec.rb',
    'spec/cli/setup_spec.rb',
    'spec/cli/show_spec.rb',
    'spec/cli/status_spec.rb',
    'spec/cli/token_spec.rb',
    'spec/cli/version_spec.rb',
    'spec/cli/whoami_spec.rb',
    'spec/client/account_spec.rb',
    'spec/client/auto_login_spec.rb',
    'spec/client/broadcast_spec.rb',
    'spec/client/build_spec.rb',
    'spec/client/commit_spec.rb',
    'spec/client/job_spec.rb',
    'spec/client/methods_spec.rb',
    'spec/client/namespace_spec.rb',
    'spec/client/repository_spec.rb',
    'spec/client/session_spec.rb',
    'spec/client/user_spec.rb',
    'spec/client_spec.rb',
    'spec/pro_spec.rb',
    'spec/spec_helper.rb',
    'spec/support/fake_api.rb',
    'spec/support/fake_github.rb',
    'spec/support/fake_travis_config.yml',
    'spec/support/helpers.rb',
    'spec/travis_spec.rb',
    'travis.gemspec'
  ]

  # dependencies
  s.add_dependency 'faraday', '~> 2.7.10'
  s.add_dependency 'faraday-rack', '~> 2'
  s.add_dependency 'travis-gh', '~> 0.21.0'
  s.add_dependency 'highline',              '~> 2.1.0'
  s.add_dependency 'json_pure',             '~> 2.6.3'
  s.add_dependency 'launchy',               '~> 2.5.2'
  s.add_dependency 'pusher-client',         '~> 0.6.2'
  s.add_dependency 'rack-test', '~> 2.1.0'
  s.add_development_dependency 'rspec',     '~> 3.12'
  s.add_development_dependency 'rspec-its', '~> 1.3.0'
  s.add_development_dependency 'sinatra',   '~> 3.0.6'

  # Prereleasing on Travis CI
  if ENV['TRAVIS_JOB_NUMBER'] && (ENV['TRAVIS_REPO_SLUG'] == 'travis-ci/travis.rb')
    digits = s.version.to_s.split '.'
    digits[-1] = digits[-1].to_s.succ
    s.version = digits.join('.') + ".travis.#{ENV['TRAVIS_JOB_NUMBER']}"
  end
end
